package org.example.mq.common;

import org.example.mq.brokerserver.core.BasicProperties;

import java.io.Serializable;

public class SubScribeReturnArguments extends BasicReturnArguments implements Serializable {
    private String consumeTag;
    private BasicProperties basicProperties;
    private byte[] payload;

    public String getConsumeTag() {
        return consumeTag;
    }

    public void setConsumeTag(String consumeTag) {
        this.consumeTag = consumeTag;
    }

    public BasicProperties getBasicProperties() {
        return basicProperties;
    }

    public void setBasicProperties(BasicProperties basicProperties) {
        this.basicProperties = basicProperties;
    }

    public byte[] getPayload() {
        return payload;
    }

    public void setPayload(byte[] payload) {
        this.payload = payload;
    }
}
